/*
    BibleNotebook - A bible reader software
    Copyright (C) 2014  Williams Fernando Lopez

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
 */

package com.simplebible.bible.objects;

import java.util.Calendar;


/**
 *
 * @author Williams Lopez
 */
public class BookMarkGroup {

    private String groupId;
    private String groupName;
    private Calendar date;
    private int countMarcadores;

    

    public Calendar getDate() {
        return date;
    }

    public void setDate(Calendar date) {
        this.date = date;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String group) {
        this.groupName = group;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupFile) {
        this.groupId = groupFile;
    }

    public int getCountMarcadores() {
        return countMarcadores;
    }

    public void setCountMarcadores(int countMarcadores) {
        this.countMarcadores = countMarcadores;
    }

    

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final BookMarkGroup other = (BookMarkGroup) obj;
        if ((this.groupName == null) ? (other.groupName != null) : !this.groupName.equalsIgnoreCase(other.groupName)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 53 * hash + (this.groupName != null ? this.groupName.hashCode() : 0);
        return hash;
    }

  




    


}
